<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" >
<head>
    <meta charset="utf-8">
    <title>进件资料</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="/css/main.css" media="all" />
    <!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->
</head>
<body>
<div class="layui-tab marg0">
    <input type="hidden" id="mchUserId" th:value="${mchUserId}" value="">
    <ul class="layui-tab-title">
        <li class="layui-this">小微商户进件列表</li>
        <li >小微商户升级进件列表</li>
    </ul>
    <div class="layui-tab-content clildFrame" >
        <div class="layui-tab-item layui-show" >
            <iframe id="wx_url"  src="" width="100%" height="800px;" style="border: none;" ></iframe>
        </div>
        <div class="layui-tab-item " >
            <iframe id="wx_upgrade_url" src="" width="100%" height="800px;" style="border: none;" ></iframe>
        </div>
    </div>
</div>
<script type="text/javascript" src="/js/jquery-3.3.1.min.js"></script>

<script type="text/javascript" src="/layui/layui.js"></script>
<!-- 注意：如果你直接复制所有代码到本地，上述js路径需要改成你本地的 -->
<script>
    layui.use('element', function(){
        var $ = layui.jquery
        ,element = layui.element; //Tab的切换功能，切换事件监听等，需要依赖element模块

        var  mchUserId = $("#mchUserId").val();

        $("#wx_url").attr("src","/mch_applyment/wx_list?mchUserId="+mchUserId);
        $("#wx_upgrade_url").attr("src","/wXmchUpgrade/wx_list?mchUserId="+mchUserId);

    });
</script>

</body>
</html>